const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  userName: state => state.user.userName,
  userInfo: state => state.user.userInfo,
  userRoles: state => state.user.userRoles,
  roleEnum: state => state.enumItem.user.roleEnum,
  // permission: state => state.routes,
  // routes: state => state.router.routes,
  permission_routes: state => state.permission.routes
}
export default getters
